package com.iwhalecloud.citybrain.flow.platform.manager.application.common.context;

import com.aliyun.gts.bpaas.middleware.mq.api.model.Transferable;
import com.iwhalecloud.citybrain.flow.platform.manager.common.TaskCreatedEventMsg;
import lombok.Data;

/**
 * @author lzb
 * @date 2021/11/21 14:05
 */
@Data
public class ProcessItem implements Transferable {
    private static final long serialVersionUID = 4250545037668990638L;

    private Long timestamp = System.currentTimeMillis();
    /**
     * 流程实例id
     */
    private String processInstanceId;

    /**
     * 流程名称
     */
    private String processInstanceName;

    /**
     * 流程编码
     */
    private String processInstanceKey;

    /**
     * 流程版本
     */
    private String processInstanceVersion;

    /**
     * 部署id
     */
    private String deployId;

    /**
     * 发起人id
     */
    private String applyUserId;

    /**
     * 发起人名称
     */
    private String applyUserName;

    /**
     * 发起人类型
     */
    private String applyUserType;

    /**
     * 处理人ID
     */
    private String participantId;

    /**
     * 处理人名称
     */
    private String participantName;
}
